package com.tian.mall;

/**
 * @author zhumengping
 * @title: MailMainTest
 * @projectName zhump-cloud
 * @date 2023/8/2 10:48
 */
public class MailMainTest {

    public static void main(String[] args) throws Exception{

        EmailRequestEntity build = EmailRequestEntity.builder().serverName("user-server")
                .channel(ChannelEnums.LOGIN_REGISTER)
                .sendMail("zhu_json@163.com")
                .sendMailPwd("BIEZGWQNMXGPAEQK")
                .sendContent("测试内容2")
                .receiveMail("1174435513@qq.com")
                .mailType(MailTypeEnums.MAIL_163)
                .receiveName("zhump")
                .subject("测试主题2")
                .build();

        IEmail email = new EmailImpl();
        email.normalMail(build);


    }
}
